/*
 * base
 */
html,
body {
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  scroll-behavior: smooth;
  box-sizing: border-box;
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica', 'Arial', sans-serif;
  width: 100%;
  height: 100%;
  @include text1;
  @include scrollbar;
  background-color: rgb(244, 245, 247);
  overflow-y: hidden;
}
*,
:after,
:before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img {
  vertical-align: top;
}

[tabindex] {
  outline: none;
}

a {
  cursor: pointer;
  color: var(--o-color-link1);
  text-decoration: none;
  &:hover {
    text-decoration: none;
    @include respond-to('>phone') {
      color: var(--o-color-link2);
    }
  }
  &:active {
    @include respond-to('>phone') {
      color: var(--o-color-link3);
    }
  }
}

blockquote,
figure,
form,
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}
dd,
dl,
li,
ol,
ul {
  margin: 0;
  padding: 0;
}

ol,
ul {
  list-style: none outside none;
}

button,
input,
optgroup,
section,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}
.highlight {
  color: var(--o-color-ubmc);
}
.highlight-wrapper {
  span {
    color: var(--o-color-ubmc);
  }
}

svg:not(.o-svg-icon):not(.dynamic-svg):not(.initial-fill) {
  path {
    fill: currentColor;
  }
}

.hidden-item {
  display: none;
}

.dynamic-svg {
  max-width: 100%;
  height: auto;
  * {
    box-sizing: content-box;
  }
}